]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
iconGrid: don't force icon size to the BaseIcon
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 16 Feb 2014 04:26:14 +0000 (20:26 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Sun, 16 Feb 2014 15:49:25 +0000 (07:49 -0800)
Since we might get a scaled up version for HiDpi.

https://bugzilla.gnome.org/show_bug.cgi?id=705410

js/ui/iconGrid.js

index d35c97bb335303940bec8261695919f8838bb445..51fba64f80e915f3c31509166d5d76bfbc0eedea 100644 (file)
@@ -143,11 +143,6 @@ const BaseIcon = new Lang.Class({
         this.icon = this.createIcon(this.iconSize);
 
         this._iconBin.child = this.icon;
-
-        // The icon returned by createIcon() might actually be smaller than
-        // the requested icon size (for instance StTextureCache does this
-        // for fallback icons), so set the size explicitly.
-        this._iconBin.set_size(this.iconSize, this.iconSize);
     },
 
     _onStyleChanged: function() {